.TH aio_error64 3 2002-09-12 "Linux 2.4" Linux AIO"
.SH NAME
aio_error64 \- Return errors
.SH SYNOPSYS
.nf
.B #include <errno.h>
.sp
.br 
.B #include <aio.h>
.sp
.br
.BI "int aio_error64 (const struct aiocb64 *aiocbp)"
.fi
.SH DESCRIPTION
This function is similar to 
.IR aio_error
with the only difference
that the argument is a reference to a variable of type 
.IR "struct aiocb64".
.PP
When the sources are compiled with 
.IR "_FILE_OFFSET_BITS == 64"
this
function is available under the name 
.IR aio_error
and so
transparently replaces the interface for small files on 32 bit
machines.
.SH "RETURN VALUES"
If the request has not yet terminated the value returned is always
.IR "EINPROGRESS"
.  Once the request has terminated the value
.IR "aio_error"
returns is either 
.I 0
if the request completed successfully or it returns the value which would be stored in the
.IR "errno"
variable if the request would have been done using
.IR "read"
, 
.IR "write"
, or 
.IR "fsync"
.
.SH ERRORS
See 
.IR aio_error(3).
.SH "SEE ALSO"
.BR aio(3),
.BR aio_cancel(3),
.BR aio_cancel64(3),
.BR aio_error(3),
.BR aio_fsync(3),
.BR aio_fsync64(3),
.BR aio_init(3),
.BR aio_read(3),
.BR aio_read64(3),
.BR aio_return(3),
.BR aio_return64(3),
.BR aio_suspend(3),
.BR aio_suspend64(3),
.BR aio_write(3),
.BR aio_write64(3),
.BR errno(3),
